package com.anysoft;

import com.anysoft.me.config.ServiceConfig;
/**
 * 项目请求常量
 * <p>
 * Created by wwq on 2017/2/6.
 */

public class HostConstant {
    //GYRXXJKX
    public static String HOST_URL_HEADER = ServiceConfig.isQA ?
            ServiceConfig.getInstance().TestIP + "/GYRXXJKX/" : ServiceConfig.getInstance().FINAL_HOST_URL;//172.28.11
    //smartfund
    public static String HOST_URL_HEADER_ZX = ServiceConfig.isQA ?
            ServiceConfig.getInstance().TestIP : ServiceConfig.getInstance().FINAL_HOST_URL_ZX;//172.28.11.75:7008
    public static String HOST_WEB_URL_HEADER = ServiceConfig.isQA ?
            ServiceConfig.getInstance().TestIP + "/GY_H5/icbcFund/" : ServiceConfig.getInstance()
            .FINAL_HOST_WEB_URL_HEADER;//172.28.11.75:7008


    //TODO 组合投资，上线要用线上的地址
    public static String HOST_WEB_URL_HEADER_GYZT = ServiceConfig.isQA ?
            "http://172.28.11.76:7006/protfolio/" : ServiceConfig.FINAL_HOST_URL;

    public static String SKIP_TYPE = "";

    /**
     * 分享-  自带图片的链接
     */
    public static String SHARE_IMAGE_URL = HOST_WEB_URL_HEADER + "images/newAssets/banklogo.png";
    /**
     * 现金快线代码
     */
    public static String XJKJ_CODE = "482002";
    /**
     * 超级现金快线带啊
     */
    public static String CJXJKJ_CODE = "000677";
    /**
     * 中国国家代码
     */
    public static String CHINA_COUNTRY_CODE = "156";
    /**
     * 中国香港代码
     */
    public static String CHINA_HONG_KONG_CODE = "344";
    /**
     * 中国台湾代码
     */
    public static String CHINA_TAI_WAN_CODE = "158";
    /**
     * 中国澳门代码
     */
    public static String CHINA_MMACAO_CODE = "446";

    public static String TAX_CHINA_COUNTRY_CODE = "CN";

    public static String CLIENT_TYPE = "xjkxApp";
    /**
     * 登录
     */
    public static String LOGIN = HOST_URL_HEADER + "accountLogin";
    /**
     * 查询证件类型
     */
    public static String QUERY_CERTIFICATE_TYPE = HOST_URL_HEADER + "queryCertificateType";
    /**
     * 查询开户支持的银行
     */
    public static String QUERY_BANK_INFO_LIST = HOST_URL_HEADER + "queryBankInfoList";
    /**
     * 查询可定投的银行卡
     */
    public static String QUERY_PLAN_BANK_INFO_LIST = HOST_URL_HEADER + "queryPlanBuyBankInfoList";
    /**
     * 职业查询
     */
    public static String QUERY_PROFESSION = HOST_URL_HEADER + "queryProfession";
    /**
     * 职业省市代码
     */
    public static String QUERY_PROVINCE_CITY = HOST_URL_HEADER + "queryProvinceCity";
    /**
     * 鉴权申请(开户第一步)
     */
    public static String QUICK_AUTH_APPLY = HOST_URL_HEADER + "quickAuthApply";
    /**
     * 鉴权确认(开户第一步)
     */
    public static String QUICK_AUTH_CONFIRM = HOST_URL_HEADER + "quickAuthConfirm";
    /**
     * 开户
     */
    public static String OPEN_ACCOUNT = HOST_URL_HEADER + "openAccount";
    /**
     * 验证码
     */
    public static String PICTURE_CHECK_CODE = HOST_URL_HEADER + "pictureCheckCode.jpeg";


    /**
     * 获取用户绑定的所有银行卡信息
     */
    public static String QUERY_CUSTOMER_BANK = HOST_URL_HEADER + "queryCustomerBank";
    /**
     * 解绑银行卡
     */
    public static String CLOSE_ACCOUNT = HOST_URL_HEADER + "closeAccount";
    /**
     * 增开银行卡
     */
    public static String ADD_BANK_CARD = HOST_URL_HEADER + "addBankCard";
    /**
     * 用户修改密码
     */
    public static String CHANGE_PASSWORD = HOST_URL_HEADER + "changePassword";
    /**
     * 获取基金列表
     */
    public static String QUERY_FUNDLIST = HOST_URL_HEADER + "queryFundList";
    /**
     * 退出登录
     */
    public static String LOGIN_OUT = HOST_URL_HEADER + "logout";
    /**
     * 用户风险问卷查询
     */
    public static String QUERY_QUESTIONNAIRE = HOST_URL_HEADER + "queryQuestionnaire";
    /**
     * 12.	资产查询
     */
    public static String QUERY_USER_ASSETS = HOST_URL_HEADER + "queryUserAssets";
    /**
     * 发送短信验证码
     */
    public static String SEND_SMS_CODE = HOST_URL_HEADER + "sendSMSCode";
    /**
     * 申请指纹或手势密码
     */
    public static String OPEN_SIGN_FINGER_PRINT_CAPPLY = HOST_URL_HEADER + "openSignFingerprintApply";
    /**
     * 开始/修改指纹或手势密码
     */
    public static String OPEN_SIGN_FINGER_PRINT_CONFIRM = HOST_URL_HEADER + "openSignFingerprintConfirm";
    /**
     * 清空指纹或手势密码
     */
    public static String CLEAR_SIGN_FINGER_PRINT_CONFIRM = HOST_URL_HEADER + "cleanSignFingerprintConfirm";
    /**
     * 验证指纹或手势密码
     */
    public static String VALIDATE_SIGN_FINGER_PRINT_CONFIRM = HOST_URL_HEADER + "validateSignFingerprintConfirm";

    /**
     * 修改手机号码
     */
    public static String CHANGE_MOBILE = HOST_URL_HEADER + "changeMobile";
    /**
     * 个人资料修改
     */
    public static String MODIFY_USERINFO = HOST_URL_HEADER + "modifyUserInfo";
    /**
     * 绑定推客户
     */
    //TODO 二维码接口目前没有
    public static String BIND_CUSTOMER = " https://ydxjb.icbccs.com.cn/GYGJ/qrcode/redirectCusBinding.json?";
    /**
     * 取消/添加关注---0为取消关注，１为添加关注
     */
    public static String ATTENTIONS_COMMAND = HOST_URL_HEADER + "attentionsCommand";
    /**
     * 查询关注列表
     */
    public static String QUERY_ATTENTIONS = HOST_URL_HEADER + "queryAttentions";
    /**
     * 查询是否关注某个基金
     */
    public static String QUERY_ATTENTIONS_BY_FUNDCODE = HOST_URL_HEADER + "queryAttentionByFundcode";

//
//    /**
//     * 修改手机号码
//     */
//    public static final String CHANGE_MOBILE = HOST_URL_HEADER + "changeMobile";
//    /**
//     * 个人资料修改
//     */
//    public static final String MODIFY_USERINFO = HOST_URL_HEADER + "modifyUserInfo";
    /**
     * 23.	用户风险等级查询
     */
    public static String QUERY_RISK_LEVEL = HOST_URL_HEADER + "queryRiskLevel";
    /**
     * 25.	用户风险问卷结果保存
     */
    public static String QUESTIONNAIRE_SAVE = HOST_URL_HEADER + "questionnaireSave";
    /**
     * 3.	添加意见反馈
     */
    public static String ADD_FEED_BACK = HOST_URL_HEADER + "addFeedback";
    /**
     * 27.	用户信息查询
     */
    public static String QUERY_USER_INFO = HOST_URL_HEADER + "queryUserInfo";
    /**
     * 28.	预留信息和上次登录时间查询
     */
    public static String QUERY_RESERVE_INFO = HOST_URL_HEADER + "queryReserveInfo";
    /**
     * 51.	重置密码
     */
    public static String RESET_PASSWORD = HOST_URL_HEADER + "resetPassword";
    /**
     * 52.	校验密码是否合规
     */
    public static String CHECK_PASSWORD = HOST_URL_HEADER + "checkPassword";
    /**
     * 61.	查询客户已有定投计划
     */
    public static String QUERY_MYPLAN = HOST_URL_HEADER + "queryMyPlan";
    /**
     * 61.	查询客户已有定投计划
     */
    public static String LIST_BANNERS = HOST_URL_HEADER + "listBanners";
    /**
     * 检查更新版本
     */
    public static String UPDATE = HOST_URL_HEADER + "queryVersionInfo";
    /**
     * 27.	查询基金详情
     */
    public static String QUERY_FUND_INFO = HOST_URL_HEADER + "queryFundInfo";
    /**
     * 6.	获取公告
     */
    public static String LIST_ANNOUNCEMETS = HOST_URL_HEADER + "listAnnouncemets";
    /**
     * 55.	主题热点查询
     */
    public static String QUERY_THEME_HOT_SPOT_LIST = HOST_URL_HEADER + "queryThemeHotSpotList";
    /**
     * 56.	理财视点查询
     */
    public static String QUERY_MANAGER_MONEY_VIEW_LIST = HOST_URL_HEADER + "queryManagerMoneyViewList";
    /**
     * 添加分享
     */
    public static String ADD_SHARE = HOST_URL_HEADER + "addShare";
    /**
     * 获取手机白名单
     */
    public static String MOBILE_WHITE_GET = HOST_URL_HEADER + "mobileWhiteGet";
    /**
     * 59.	交易撤单
     */
    public static String CANCEL_TRADE = HOST_URL_HEADER + "cancelTrade";
    /**
     * 70.	查询客户风险等级和基金风险等级的比较留痕用
     */
    public static String CHENK_USER_AND_FUND_LEVEL = HOST_URL_HEADER + "chenkUserAndFundLevel";
    /**
     * 71.	比较客户风险等级和基金风险等级
     */
    public static String QUICK_LEVEL = HOST_URL_HEADER + "quickLevel";
    /**
     * 4.	获取在线客服URL
     */
    public static String ONLINE_CUSTOMER = HOST_URL_HEADER + "onlineCustomer";
    /**
     * 73.	查询银行卡是否为1类账户(允许开户)
     */
    public static String QUERY_BANK_TYPE = HOST_URL_HEADER + "queryBankType";
    /**
     * 2.	获取温馨提示
     */
    public static String SELECT_WARM_PROMPT_BY_TYPE = HOST_URL_HEADER + "selectWarmPromptByType";
    /**
     * 6.	获取APP登录广告
     */
    public static String GET_STARTUP_ADVERTISEMENT = HOST_URL_HEADER + "getStartupAdvertisement";


    /**
     * 涉税类型
     */
    public static String QUERY_TAXTYPE = HOST_URL_HEADER_ZX + "/smartfund/smartTaxType";
    /**
     * 国家查询
     */
    public static String QUERY_COUNTRY = HOST_URL_HEADER_ZX + "/smartfund/smartCountry";
    /**
     * 73.	查询可以定投的银行卡
     */
//    public static String QUERY_FUND_BUY_PLAN_CHANNEL = HOST_URL_HEADER_ZX + "/smartfund/queryFundBuyPlanChannel";
    /**
     * 73.	卡bin
     */
    public static String QUERY_CARD_BIN_BY_BANK_ACCOUNT_NO = HOST_URL_HEADER_ZX + "/smartfund/smartCardBinByBankAccountNo";
    /**
     * 64.	撤单时是否支持t+0快速赎回到账
     */
    public static String QUERY_SUPPORT_REAL_TIME_CANCEL_INFO = HOST_URL_HEADER_ZX + "/smartfund/querySupportRealTimeCancelInfo";

    /**
     * 65.	上传身份证正反面
     */
    public static String UPLOAD_IMAGE = HOST_URL_HEADER_ZX + "/smartfund/uploadImage";

    /**
     * 65.	了解XXXXXX
     */
    public static String QUERY_COMPANY_INTRO = HOST_URL_HEADER + "queryCompanyIntro";

    /**
     * 66.	查询跟客户风险等级匹配的基金列表(热点产品)
     */
    public static String QUERY_RISK_FUND_LIST = HOST_URL_HEADER + "queryRiskRearingFundList";

    /**
     * 67. 获取公钥
     */
    public static String GET_RSA_PUBLICKEY = HOST_URL_HEADER_ZX + "/smartfund/getRSAPublicKey";

    /**
     * 68. 反洗钱
     */
    public static String ANTIMONEY_VALIDATE = HOST_URL_HEADER_ZX + "/smartfund/antiMoneyLaunderValidate";
    /**
     * 69. 开户涉税获取国别
     */
    public static String QUERY_TAX_COUNTRY = HOST_URL_HEADER_ZX + "/smartfund/queryTaxCountry";
    /**
     * 70. 开户涉税获取省/市
     */
    public static String QUERY_TAX_PROVINCE = HOST_URL_HEADER_ZX + "/smartfund/queryTaxProvince";
    /**
     * 71. 开户涉税获取市/区
     */
    public static String QUERY_TAX_CITY = HOST_URL_HEADER_ZX + "/smartfund/queryTaxCity";

    public static final int STRAT_UPLOAD_ID = 0x0001;
    public static final int RESULT_UPLOAD_ID = 0x0002;
    public static final int START_CAMETA = 0x0003;
    public static final int RESULT_CAMETA = 0x0004;
    public static final int START_CHOOSER = 0x0005;
    public static final int START_UPLOAD_SUCCESS = 0x0006;
    public static final int RESULT_UPLOAD_SUCCESS = 0x0007;
    public static final int START_BANK_CARD = 0x0008;
    public static final int RESULT_BANK_CARD = 0x0009;
    public static final String SP_NAME_UPDATE = "update";
    public static final int PWD_BACK = 0x0010;
    public static final int REQUEST_CODE_2PWDEDITPAGE = 0x0011;
    public static final int START_CHANTS_BANK = 0x0012; //招商H5页面
    public static final int RESULT_CHANTS_BANK = 0x0013; //招商H5页面
}
